<?php

include ('./includes/libccramp.inc');

if ($_POST['id']){
	mysql_query("UPDATE `logout` SET `logout`='".$nowstamp."',`is_showless`='".$_POST['is_showless']."',`is_messy`='".$_POST['is_messy']."',`is_nasty`='".$_POST['is_nasty']."',`comment`='".$_POST['comment']."' WHERE `id`='".$_POST['id']."' ") or die('logout was not entirely successful');
}

session_destroy(); /* kill the session upon logout */
unset_all_vars(get_defined_vars());
unset($_user);
unset($_password);
unset($U_id);
unset($U_);
?>
